package de.upb.aquarium.water.bubbles;

import java.util.List;

import de.upb.aquarium.api.utility.VectorFloat;

public abstract class BubbleSource {
	private VectorFloat position;
	private VectorFloat upDirection;
	
	public BubbleSource(VectorFloat position, VectorFloat upDirection) {
		super();
		this.position = position;
		this.upDirection = upDirection;
		this.upDirection.normalize();
	}

	public abstract List<WaterBubble> generate();

	public VectorFloat getPosition() {
		return position;
	}

	public void setPosition(VectorFloat position) {
		this.position = position;
	}

	public VectorFloat getUpDirection() {
		return upDirection;
	}

	public void setUpDirection(VectorFloat upDirection) {
		this.upDirection = upDirection;
	}
}
